package activitiShare.one;

/**
 * 监听器的实现类
 */
public class MyTaskListener implements TaskListener,ExecutionListener {
    @Override
    public void notify(String name) {
        System.out.println("任务监听器被调用，任务名称：" + name);
    }

    @Override
    public void notify(Long number) {
        System.out.println("执行编号:  "+ number);
    }
}
